<div id="app">
	{{ message }}
	<p v-html="vhtest"></p>
	<div v-bind:id="color">this is test for vbind</div>
</div>
<script src="../js/vue.js"></script>
<script type="text/javascript">
	var app = new Vue({
		el: '#app',
		data: {
			message: 'HELLO STRANGER!',
			vhtest: '<a href="#" style="color:red;">这是一个链接</a>',
			color: 'red',
		}
	})
	app.$watch("message", function(newVal, oldVar) {
		console.log(oldVar, newVal)
	})
	app.message = "it's me"
</script>
<style type="text/css">
	#red {
		color: blue;
	}
</style>
